/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Detection.Model
{

    /// <summary>
    ///  taskInfo
    /// </summary>
    public class TaskInfo
    {

        ///<summary>
        /// 探测异常数  ，null代表缺值。只统计探测失败，超时的个数。
        ///</summary>
        public long? AbnormalCount{ get; set; }
        ///<summary>
        /// task的探测地址
        ///</summary>
        public string Address{ get; set; }
        ///<summary>
        /// 该task状态[true:被删除]
        ///</summary>
        public bool Deleted{ get; set; }
        ///<summary>
        /// 任务状态[false：己禁用，true：己启用]
        ///</summary>
        public bool Enabled{ get; set; }
        ///<summary>
        /// task名称
        ///</summary>
        public string Name{ get; set; }
        ///<summary>
        /// task的可用率
        ///</summary>
        public double? ProbeAvailability{ get; set; }
        ///<summary>
        /// 该task的探测源个数
        ///</summary>
        public long? ProbeCount{ get; set; }
        ///<summary>
        /// task的探测类型，1：http，2：telnet
        ///</summary>
        public long? ProbeType{ get; set; }
        ///<summary>
        /// task的探测平均响应时间
        ///</summary>
        public double? ResponseTime{ get; set; }
        ///<summary>
        /// task的id
        ///</summary>
        public string TaskId{ get; set; }
    }
}
